package com.mhkj.base.earlyWarning.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.mics.core.common.validate.annotation.Validate;
import com.mics.core.system.base.entity.BaseDomain;
/**
 * 预警设置
 * @author wt
 */
@Entity
@Table(name="t_early_warning")
@Validate
public class EarlyWarning  extends BaseDomain {

	/**
	 * 序号
	 */
	private static final long serialVersionUID = -817185819740832541L;

	/**
	 * 工期(百分比)
	 */
	@Column(name="work_day_least")
	private Integer workDayLeast=0;
	/**
	 * 工期(百分比)
	 */
	@Column(name="work_day_max")
	private Integer workDayMax=0;
	/**
	 * 进度
	 */
	@Column(name="schedule")
	private Integer schedule=0;
	/**
	 * 状态
	 */
	@Column(name="status")
	private Integer status;
	
	/**
	 * 说明
	 */
	@Column(name="remark",length=240)
	private String remark;


	/**
	 * 创建人姓名
	 */
	@Transient
	private String createName;
	
	public String getCreateName() {
		return createName;
	}


	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Integer getWorkDayLeast() {
		return workDayLeast;
	}

	public void setWorkDayLeast(Integer workDayLeast) {
		this.workDayLeast = workDayLeast;
	}

	public Integer getWorkDayMax() {
		return workDayMax;
	}

	public void setWorkDayMax(Integer workDayMax) {
		this.workDayMax = workDayMax;
	}

	public Integer getSchedule() {
		return schedule;
	}

	public void setSchedule(Integer schedule) {
		this.schedule = schedule;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
	
}
